import React, { Component } from 'react';
import './bookClassifyListTop.less';

class BookClassifyListTop extends Component{

	//左上角返回事件
	backHandle = () => {
		window.history.back();
	}

	render(){
		return(
			<div className="bookClassifyListTop">
				<div className="bookClassifyName">
					<div className="bookClassifyName_left fl">
						<img src="assets/img/back.png" onClick={this.backHandle}/>
					</div>
					<div className="bookClassifyName_content">
						{this.props.classifyName}
					</div>
				</div>
				{/*
					<span className="normalSort">综合排序</span>
					<span className="saleSort">销量最高</span>
				*/}
			</div>
		)
	}
}

export default BookClassifyListTop;